package saber;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.view.InternalResourceViewResolver;


@Controller
public class CommonController {
	@RequestMapping("/login")
	public String Login(String uname, int passwd){
		if(uname=="job"&&passwd==123){
			return "regist";
		}
	    return "regist";
	   
	}
	
}
